home *** CD-ROM | disk | FTP | other *** search
- Path: news.join.ad.jp!wnoc-tyo-news!spinnews!spin-hsd0-tky!inet-tsb!tis2!ssel-news!usenet
- From: Christian Sonntag <sonntag@ssel.toshiba.co.jp>
- Newsgroups: comp.lang.c++
- Subject: Re: HELP: Algorithm for ordering (x,y) coordinates
- Date: Tue, 19 Mar 1996 09:54:20 +1100
- Organization: Systems & Software Engineering Laboratory, TOSHIBA Corporation, JAPAN
- Message-ID: <314DE99C.72CB@ssel.toshiba.co.jp>
- References: <314B0266.456A@mit.edu>
- NNTP-Posting-Host: chrome.ssel.toshiba.co.jp
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (WinNT; I)
-
- In my opinion you should take the origin(0,0)
- always as the 3rd point and proceed as described.
-
- It does not make sense do define the < relation on 3 arguments.
- Furthermore it would lead to inconsistent results, depending
- on the execution order.
-
-
- Good luck, I am sure this can be done w/ STL.
-
- Christian
- Sonntag
-